package com.healthcloud.service.losewisdom;

import com.healthcloud.dto.req.losewisdom.LoseWisdomFollowUpListReq;
import com.healthcloud.entity.losewisdom.LoseWisdomFollowUpEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;
import java.util.Map;

/**
 * 失智随访记录表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2020-10-15 15:18:22
 */
public interface LoseWisdomFollowUpService {

	/**
	 * 根据id获取详情
	 * @param id
	 * @return
	 */
	LoseWisdomFollowUpEntity queryObject(Integer id);

	/**
	 * 获取随访列表信息
	 * @param req
	 * @param pageParam
	 * @return
	 */
    List<LoseWisdomFollowUpEntity> queryList(LoseWisdomFollowUpListReq req, PageParam pageParam);

	/**
	 * 获取随访列表记录数
	 * @param bean
	 * @return
	 */
	int queryTotal(LoseWisdomFollowUpListReq bean);

	/**
	 * 新增随访信息
	 * @param loseWisdomFollowUp
	 */
	void save(LoseWisdomFollowUpEntity loseWisdomFollowUp);

	/**
	 * 修改随访信息
	 * @param loseWisdomFollowUp
	 */
	void update(LoseWisdomFollowUpEntity loseWisdomFollowUp);

	/**
	 * 删除信息
	 * @param id
	 */
	void delete(Integer id);

	/**
	 * 批量删除随访信息
	 * @param ids
	 */
	void deleteBatch(Integer[] ids);
}
